home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 45
/
Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso
/
Aminet
/
dev
/
c
/
vbcc.lha
/
vbcc
/
targets
/
ppc-warpos
/
include
/
ctype.h
< prev
next >
Wrap
C/C++ Source or Header
|
2001-04-28
|
845b
|
38 lines
#pragma begin_header
/* stdlib.h - vbcc PowerPC */
#ifndef __CTYPE_H
#define __CTYPE_H 1
extern unsigned char __ctype[];
int isalnum(int);
int isalpha(int);
int iscntrl(int);
int isdigit(int);
int isgraph(int);
int islower(int);
int isprint(int);
int ispunct(int);
int isspace(int);
int isupper(int);
int isxdigit(int);
#define isalpha(x) (__ctype[(x)+1] & 3)
#define isupper(x) (__ctype[(x)+1] & 1)
#define islower(x) (__ctype[(x)+1] & 2)
#define isdigit(x) (__ctype[(x)+1] & 4)
#define isxdigit(x) (__ctype[(x)+1] & 68)
#define isalnum(x) (__ctype[(x)+1] & 7)
#define isspace(x) (__ctype[(x)+1] & 8)
#define ispunct(x) (__ctype[(x)+1] & 16)
#define iscntrl(x) (__ctype[(x)+1] & 32)
#define isprint(x) (__ctype[(x)+1] & 151)
#define isgraph(x) (__ctype[(x)+1] & 23)
int toupper(int);
int tolower(int);
#endif
#pragma end_header